import Vue from 'vue';
import Router from 'vue-router';
import HelloWorld from '@/components/HelloWorld';
import home from '@/page/home';
import personal from '@/page/personal';
import square from '@/page/square';
import detail from '@/page/detail';
import regist from '@/page/personal_regist';
import btn1 from '@/components/btn1';
import btn2 from '@/components/btn2';
import headUpload from '@/components/headUpload';
import map from '@/components/map';
import album from '@/page/album';
import varity from '@/page/varity';
import bussiness_detail from '@/page/bussiness_detail';

Vue.use(Router)

export default new Router({
	routes: [{
		path: '/',
		name: 'home',
		component: home
	}, {
		path: '/',
		name: 'varity',
		component: varity
	}, {
		path: '/regist',
		name: 'regist',
		component: regist
	}, {
		path: '/detail',
		name: 'detail',
		component: detail
	}, {
		path: '/personal',
		name: 'personal',
		component: personal
	}, {
		path: '/square',
		name: 'square',
		
		component: square
		
	}, {
		path: '/page/album',
		name: 'album',
		component: album
	}, {
		path: '/headUpload',
		name: 'headUpload',
		component: headUpload
	}, {
		path: '/map',
		name: 'map',
		component: map
	}, {
		path: '/bussiness_detail',
		name: 'bussiness_detail',
		component: bussiness_detail
	}]
})
